// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import router from './router/index'
import App from './App'

import Vuex from 'vuex'
Vue.use(Vuex);
import Store from './assets/js/store/store'
const store = new Vuex.Store(Store)

import services from './assets/js/services/index'
Vue.prototype.services = services


import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import './assets/css/common.less'
import './assets/css/style.less'

/* eslint-disable no-new */
new Vue({
  el: '#app',
  data: {
    wh: 0
  },
  router,
  store,
  template: '<App/>',
  components: {App}
})
